package com.jw.blog.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author wan Email-wlf18726994755@163.com
 * @version 1.0
 * @className AccessLimit
 * @date 2020/7/1 15:03
 **/

@Retention(RUNTIME)
@Target(METHOD)
public @interface AccessLimit {
    int seconds() default 5;
    int maxCount() default 2;
}
